﻿using System.ComponentModel.DataAnnotations;

namespace Batman.Cms.Controllers.Words.Input
{
    public class CreateStopWordInput
    {
        /// <summary>
        /// 文件路径
        /// </summary>
        [Display(Name = "停词文件路径")]
        [UIHint("SelectFile")]
        [Required(ErrorMessage = "请选择停词文本文件")]
        public string FilePath { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [Required(ErrorMessage = "请设置停词类型")]
        [Display(Name = "停词类型")]
        public string Belong { get; set; }
    }
}
